package com.niit.project.dao;

import com.niit.project.entity.Page;
import com.niit.project.entity.UserGoods;

import java.util.List;

public interface UserGoodsDao {
    public List<UserGoods> selectAll(Page page);
    public long selectCount();
    public int delete(int id);
    public int insert(UserGoods userGoods);
    public UserGoods select(int id);
    public int update(UserGoods userGoods);
    public UserGoods query(String keyword);
}
